<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>评论管理</title>
    <hdjs/>
    <bootstrap/>
    <css file="__TPL__/Public/Css/common.css"/>
</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
            <tr>
                <td width="50">coid</td>
                <td width="50">pid</td>
                <td width="100">评论用户名/昵称</td>
                <td width="180">评论时间</td>
                <td width="180">评论内容</td>
                <td width="50">所属文章</td>
                <td width="150">操作</td>
            </tr>
        </thead>
        <tbody>
            <foreach from="$comment" value="$value">
                <tr>
                    <td width="50">{$value.coid}</td>
                    <td width="50">{$value.pid}</td>
                    <td width="100">{$value.username}/{$value.nickname}</td>
                    <td width="180">{$value.addtime|hd_date:'Y-m-d H:i:s'}</td>
                    <td width="180">{$value.comcon}</td>
                    <td width="50">{$value.article_aid}</td>
                    <td width="150">
                         <a href="javascript:" class="btn-sm btn-warning" onclick="if(confirm('确定要删除吗？')) hd_ajax('{|U:'del_comment',array('coid'=>$value['coid'])}')">删除</a>
                    </td>
                </tr>
            </foreach>
        </tbody>
    </table>
    <div class="page_hdjob">
      
    </div>
</div>

</body>
</html>


